{template 'public/header'}
{template 'public/comhead'}
<link rel="stylesheet" type="text/css" href="../addons/zh_gjhdbm/template/public/ygcss.css">
<ul class="nav nav-tabs">
    <span class="ygxian"></span>
    <div class="ygdangq">当前位置:</div>    
    <li class="active"><a href="javascript:void(0);">版权设置</a></li>
</ul>
<div class="main">
    <form action="" method="post" class="form-horizontal form" enctype="multipart/form-data" id="invitative">
        <div class="panel panel-default ygdefault">
            <div class="panel-heading wyheader">
                版权设置
            </div>
            <div class="panel-body">
                <div class="form-group">
                    <label class="col-xs-12 col-sm-3 col-md-2 control-label">卷名称</label>
                    <div class="col-sm-9">
                        <input type="text" name="tk_name" class="form-control" value="{$item['tk_name']}" />
                    </div>
                </div>
                <div class="form-group">
                   <label class="col-xs-12 col-sm-3 col-md-2 control-label">类型</label>
                   <div class="col-sm-9">
                    <label class="radio-inline">
                        <input type="radio" id="emailwy1" name="type" value="1" {if $item['type']==1 || empty($item['type'])}checked{/if} />
                        <label for="emailwy1">免费</label>
                    </label>
                    <label class="radio-inline">
                        <input type="radio" id="emailwy2" name="type" value="2" {if $item['type']==2}checked{/if} />
                        <label for="emailwy2">收费</label>
                    </label>    
                </div>
            </div>
                <div class="form-group">
                    <label class="col-xs-12 col-sm-3 col-md-2 control-label">价格</label>
                    <div class="col-sm-9">
                        <input type="text" name="money" class="form-control" value="{$item['money']}" />
                    </div>
                </div>
                  <div class="form-group">
                    <label class="col-xs-12 col-sm-3 col-md-2 control-label">总张数</label>
                    <div class="col-sm-9">
                        <input type="text" name="total_num" class="form-control" value="{$item['total_num']}" />
                    </div>
                </div>
                   <div class="form-group">
                    <label class="col-xs-12 col-sm-3 col-md-2 control-label">限制张数</label>
                    <div class="col-sm-9">
                        <input type="text" name="limit_num" class="form-control" value="{$item['limit_num']}" />
                    </div>
                </div>
                      <div class="form-group">
                   <label class="col-xs-12 col-sm-3 col-md-2 control-label">是否需要审核</label>
                   <div class="col-sm-9">
                    <label class="radio-inline">
                        <input type="radio" id="emailwy1" name="bm_check" value="1" {if $item['bm_check']==1 || empty($item['bm_check'])}checked{/if} />
                        <label for="emailwy1">是</label>
                    </label>
                    <label class="radio-inline">
                        <input type="radio" id="emailwy2" name="bm_check" value="2" {if $item['bm_check']==2}checked{/if} />
                        <label for="emailwy2">否</label>
                    </label>    
                </div>
            </div>
     
            </div>
        </div>
        
        <div class="form-group">
            <input type="submit" name="submit" value="保存设置" class="btn col-lg-3" style="color: white;background-color: #44ABF7;" />
            <input type="hidden" name="token" value="{$_W['token']}" />
            <input type="hidden" name="id" value="{$item['id']}" />
        </div>
    </form>
</div>
<script type="text/javascript">
    $(function(){
        $("#frame-10").show();
        $("#yframe-10").addClass("wyactive");
    })
</script>
